package com.wangshb.upms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wangshb.upms.entity.UpmsUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import java.util.Set;

@Mapper
public interface UpmsUserMapper extends BaseMapper<UpmsUser> {

    List<UpmsUser> findList(Page<UpmsUser> page,@Param("condition") UpmsUser condition);


    Set<String> findPermissions(@Param("userAccount") String userAccount);

    Set<String> findRoles(@Param("userAccount") String userAccount);
}
